<template>
  <div class="app-container home">
    <h1 class="title">{{title}}</h1>
    <vue-particles
        color="#2A3F54"
        :particleOpacity="1"
        :particlesNumber="80"
        shapeType="circle"
        :particleSize="4"
        linesColor="#64cd39"
        :linesWidth="1"
        :lineLinked="true"
        :lineOpacity="0.4"
        :linesDistance="150"
        :moveSpeed="3"
        :hoverEffect="true"
        hoverMode="grab"
        :clickEffect="true"
        clickMode="push"></vue-particles>
  </div>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      title: '欢迎使用怜宠商城管理平台',
    };
  },
  methods: {

  }
};
</script>

<style scoped lang="scss">
.title{
  font-size: 4rem;
  color: #1abb9c;
  letter-spacing: 10px;
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-shadow: 5px 2px 6px #000;
}
.app-container{
  margin: 0;
  padding: 0;
}
</style>

